package com.javasm.domin.entity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author whl
 * @since 2022-01-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CrmGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    @TableId(value = "goods_Id", type = IdType.AUTO)
    private Integer goodsId;

    /**
     * 判断一级还是二级商品
     */
    private Integer goodsRank;

    /**
     * 商品名称
     */
    @TableField("goods_Name")
    private String goodsName;

    /**
     * 商品类型id
     */
    @TableField("goodsType_Id")
    private Integer goodstypeId;

    /**
     * 品牌id
     */
    @TableField("brand_Id")
    private Integer brandId;

    /**
     * 市场价
     */
    @TableField("goods_MarketPrice")
    private Double goodsMarketprice;

    /**
     * 商城价
     */
    @TableField("goods_MallPrice")
    private Double goodsMallprice;

    /**
     * 最低库存量
     */
    @TableField("goods_MinInventory")
    private Integer goodsMininventory;

    /**
     * 是否可采购
     */
    @TableField("goods_Procurement")
    private String goodsProcurement;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
